﻿@model Property4U.Models.Ad

@{
    ViewBag.Title = "Delete";
}

<div class="row">
    <!-- Page Header -->
    <div class="col-lg-12">
        <h1 class="page-header">@ViewBag.Title</h1>
    </div>
    <!--End Page Header -->
</div>

<h3>Are you sure you want to delete this?</h3>
<div>
    <h4>Ad</h4>
    <hr />
    <dl class="dl-horizontal">
        <dt>
            <label>AdminID</label>
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Admin.Id)
        </dd>

        <dt>
            <label>OrderID</label>
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Order.ID)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.Title)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Title)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.Path)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Path)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.AdDuration)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.AdDuration)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.AdStatus)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.AdStatus)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.Remedies)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Remedies)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.PostedOn)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.PostedOn)
        </dd>

    </dl>

    @using (Html.BeginForm()) {
        @Html.AntiForgeryToken()

        <div class="form-actions no-color">
            <input type="submit" value="Delete" class="btn btn-default" /> |
            @Html.ActionLink("Back to List", "Index")
        </div>
    }
</div>
